package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 advice
 * 
 * @author ruoyi
 * @date 2023-03-03
 */
public class Advice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long adviceId;

    /** 咨询公司id */

    private Long companyId;

    /** 咨询公司名字 */
    @Excel(name = "咨询公司名字")
    private String companyName;

    /** 咨询类型 */
    private String adviceType;

    /** 咨询类型 */
    @Excel(name = "咨询类型")
    private String dictLabel;

    /** 咨询内容 */
    @Excel(name = "咨询内容")
    private String adviceContent;

    /** 咨询时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "咨询时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date adviceTime;

    /** 受理人（管理员id） */
    @Excel(name = "受理人", readConverterExp = "1=国税局处长,2=税务局科长,100=税务局科员,101=无")
    private Long userId;
    /*受理人*/

    private String nickName;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date replyTime;

    /** 删除状态 */
    private Long fakeDelete;





    public void setAdviceId(Long adviceId) 
    {
        this.adviceId = adviceId;
    }

    public Long getAdviceId() 
    {
        return adviceId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public String getCompanyName() {
        return companyName;
    }
    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public void setAdviceType(String adviceType) 
    {
        this.adviceType = adviceType;
    }
    public String getAdviceType() 
    {
        return adviceType;
    }
    public void setAdviceContent(String adviceContent) 
    {
        this.adviceContent = adviceContent;
    }
    public String getAdviceContent() {
        return adviceContent;
    }

    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }


    public Date getAdviceTime()
    {
        return adviceTime;
    }
    public void setAdviceTime(Date adviceTime) {
        this.adviceTime = adviceTime;
    }

    public String getDictLabel() {
        return dictLabel;
    }

    public void setDictLabel(String dictLabel) {
        this.dictLabel = dictLabel;
    }

    public String getReplyContent()
    {
        return replyContent;
    }
    public void setReplyContent(String replyContent)
    {
        this.replyContent = replyContent;
    }

    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }
    public void setFakeDelete(Long fakeDelete) 
    {
        this.fakeDelete = fakeDelete;
    }

    public Long getFakeDelete() 
    {
        return fakeDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adviceId", getAdviceId())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("adviceType", getAdviceType())
            .append("adviceContent", getAdviceContent())
            .append("userId", getUserId())
            .append("nickName",getNickName())
            .append("adviceTime", getAdviceTime())
            .append("replyContent", getReplyContent())
            .append("replyTime", getReplyTime())
            .append("fakeDelete", getFakeDelete())
            .append("dictLabel", getDictLabel())
            .toString();
    }
}
